Fix vc-annotate for renamed files when using Git.
authorDan Nicolaescu <dann@ics.uci.edu>
Tue, 22 Jun 2010 19:25:17 +0000 (12:25 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Tue, 22 Jun 2010 19:25:17 +0000 (12:25 -0700)
commit359701f73547c7f9c50596671d303aa05a1f45af
tree29636de8bc29b2244167ba477f8f0b2bba5926f5
parentfc4d7c867f2b526e994489229674d37fcb3ea71e
Fix vc-annotate for renamed files when using Git.
* lisp/vc-git.el (vc-git-find-revision): Deal with empty results from
ls-files.  Doe not pass the object as a file name to cat-file, it
is not a file name.
(vc-git-annotate-command): Pass the file name using -- to avoid
ambiguity with the revision.
(vc-git-previous-revision): Pass a relative file name.
lisp/ChangeLog
lisp/vc-git.el